package com.project2.service;

import com.project2.bean.CommonData;
import com.project2.bean.PageBo;
import com.project2.bean.bo.BrandCreateBo;
import com.project2.bean.bo.BrandUpdateBo;
import com.project2.bean.vo.DataInAdminBrandVo;
import com.project2.bean.vo.DataInBrandUpdateVo;
import com.project2.bean.vo.ListInDataInAdminBrandVo;

/**
 * @author zhangminghui
 * @date 2022/8/13
 */
public interface AdminBrandService {

    CommonData<ListInDataInAdminBrandVo> queryAllBrandInfo(Integer id, String name, PageBo pageBo);

    void addBrandInfo(BrandCreateBo brandCreateBo);

    DataInAdminBrandVo queryNewAddBrandInfoByNameAndDesc(String name, String desc);

    int updateBrandInfo(BrandUpdateBo brandUpdateBo);

    DataInBrandUpdateVo queryUpdateBrandInfoById(Integer id);

    void deleteBrandInfoById(Integer id);
}
